import { mount } from "./mark-down-reader";

export function start() {
    var rootele =
        document.getElementById("root") ||
        document.body.appendChild(document.createElement("div"));

    Object.assign(rootele, { id: "root" });
    // const el = rootele;
    //     if (!document.getElementById("app")) {
    //         el.innerHTML = `<div id=${initloadingid}>
    // <h1 class="mybigloading">loading</h1>
    // <span class="mui-spinner mui-spinner-custom">

    // </span></div>
    // `;
    //     }
    rootele && mount(rootele);
    //  })();
}
